package com.cloud.domain.user;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuyuan
 * @since 2019-11-18
 */
@TableName("u_staff")
public class Staff implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 员工号
     */
    private Integer staffNo;

    private String accountName;

    /**
     * 员工账号
     */
    private String userName;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 用户角色
     */
    private String userRole;

    /**
     * 用户状态
     */
    private String userStatus;

    /**
     * 用户地址表外键
     */
    private Integer userAddressId;

    /**
     * 用户昵称
     */
    private String nikeName;

    /**
     * 员工手机号
     */
    private String mobile;

    /**
     * 员工邮箱
     */
    private String email;

    /**
     * 员工密码
     */
    private String password;

    /**
     * 身份证号
     */
    private String idCardNo;

    /**
     * 员工头像
     */
    private String avatarUrl;

    /**
     * 真实员工头像
     */
    private String realAvatarUrl;

    /**
     * 登录时间
     */
    private LocalDateTime loginTime;

    /**
     * 最后登录时间
     */
    private LocalDateTime lastLoginTime;

    /**
     * 用户类型
     */
    private String userType;

    /**
     * 等级
     */
    private Integer level;

    /**
     * 商户号
     */
    private String customerNo;

    /**
     * 身份证类型
     */
    private String cardType;

    /**
     * 所属平台
     */
    private Integer platformNo;

    /**
     * 个性签名
     */
    private String signature;

    /**
     * (0男1女)
     */
    private Integer gender;

    private LocalDateTime createDate;

    private LocalDateTime updateDate;

    /**
     * 被邀请人id
     */
    private Long inviteeId;

    private Long pwdTotal;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStaffNo() {
        return staffNo;
    }

    public void setStaffNo(Integer staffNo) {
        this.staffNo = staffNo;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus;
    }

    public Integer getUserAddressId() {
        return userAddressId;
    }

    public void setUserAddressId(Integer userAddressId) {
        this.userAddressId = userAddressId;
    }

    public String getNikeName() {
        return nikeName;
    }

    public void setNikeName(String nikeName) {
        this.nikeName = nikeName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getRealAvatarUrl() {
        return realAvatarUrl;
    }

    public void setRealAvatarUrl(String realAvatarUrl) {
        this.realAvatarUrl = realAvatarUrl;
    }

    public LocalDateTime getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(LocalDateTime loginTime) {
        this.loginTime = loginTime;
    }

    public LocalDateTime getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(LocalDateTime lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getCustomerNo() {
        return customerNo;
    }

    public void setCustomerNo(String customerNo) {
        this.customerNo = customerNo;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public Integer getPlatformNo() {
        return platformNo;
    }

    public void setPlatformNo(Integer platformNo) {
        this.platformNo = platformNo;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }

    public LocalDateTime getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(LocalDateTime updateDate) {
        this.updateDate = updateDate;
    }

    public Long getInviteeId() {
        return inviteeId;
    }

    public void setInviteeId(Long inviteeId) {
        this.inviteeId = inviteeId;
    }

    public Long getPwdTotal() {
        return pwdTotal;
    }

    public void setPwdTotal(Long pwdTotal) {
        this.pwdTotal = pwdTotal;
    }

    @Override
    public String toString() {
        return "Staff{" +
        "id=" + id +
        ", staffNo=" + staffNo +
        ", accountName=" + accountName +
        ", userName=" + userName +
        ", realName=" + realName +
        ", age=" + age +
        ", userRole=" + userRole +
        ", userStatus=" + userStatus +
        ", userAddressId=" + userAddressId +
        ", nikeName=" + nikeName +
        ", mobile=" + mobile +
        ", email=" + email +
        ", password=" + password +
        ", idCardNo=" + idCardNo +
        ", avatarUrl=" + avatarUrl +
        ", realAvatarUrl=" + realAvatarUrl +
        ", loginTime=" + loginTime +
        ", lastLoginTime=" + lastLoginTime +
        ", userType=" + userType +
        ", level=" + level +
        ", customerNo=" + customerNo +
        ", cardType=" + cardType +
        ", platformNo=" + platformNo +
        ", signature=" + signature +
        ", gender=" + gender +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", inviteeId=" + inviteeId +
        ", pwdTotal=" + pwdTotal +
        "}";
    }
}
